import request from "@/plugins/request";
let pre = '/tradingCenter';
if (process.env.NODE_ENV !== "development") {
    pre = '/api/ua/access' + pre;
}

// 查询银行卡余额
export function cardDalance(data) {
    return request({
        url: `${pre}/getBalance`,
        method: 'post',
        data
    });
}

// 查询银行卡交易记录信息
export function transactionRecords(data) {
    return request({
        url: `${pre}/getPageCardTransactions`,
        method: 'post',
        data
    });
}